
//引用数据库
const mysql = require('mysql')
//配置数据库文件
let db = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: 'root',
    database: 'coronadatabase',
    useConnectionPooling: true
})
module.exports = db